<p class="h-block">
    <strong>该博客于2020-9-28日，后端基于laravel8框架开发<br>前端页面使用Bootstrap可视化布局系统自动生成</strong><br>
    <small>是我仿的原来我的TP5框架写的博客，比较粗糙，底下是入口</small><br>
    <a href="https://www.zongscan.com/">侯体宗的博客</a>
</p>
<div class="h-clear"></div>
<ul class="h-block">
    <a id="modal-599821" href="#modal-container-599821" role="button" class="btn" data-toggle="modal"><i class="icon ion-email" style="font-size: 1.8rem;"></i>&nbsp 订阅博客周刊 <small style="color: red">{{auth()->check() && auth()->user()->subscribe==1?'已订阅':''}}</small></a>
    <div class="modal fade" id="modal-container-599821" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><h4 class="modal-title" id="myModalLabel">订阅博客周刊规则</h4></div>
                <div class="modal-body">只针对用有效邮箱注册的同学有意义;<br>订阅后网站每周会发送上一周最新博客1-2篇到你的邮箱...</div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    @if(auth()->check())
                    <button type="button" class="btn btn-primary" onclick="subscribe({{auth()->user()->subscribe==0?1:0}},{{auth()->id()}},'{{csrf_token()}}')">{{auth()->user()->subscribe==0?'立即订阅':'取消订阅'}}</button>
                    @else
                    <button type="button" class="btn btn-primary" onclick="location.href='/login'">立即订阅</button>
                    @endif
                </div>
            </div>
        </div>
    </div>
</ul>
<div class="h-clear"></div>